﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace VPLink2013.Batch
{
    public class Version
    {
        [XmlAttribute]
        public int IDVersion;
        [XmlAttribute]
        public string DateCreation;
        [XmlAttribute]
        public string Auteur;

        public List<Field> Fields;
    }

    public class Field
    {
        [XmlAttribute]
        public string Name;
        [XmlAttribute]
        public string Value;
    }

    public class Item
    {
        [XmlAttribute]
        public int ID;

        [XmlAttribute]
        public string Title;

        public List<Version> Versions;
    }

    class GlobalActivites
    {
        public List<Item> Items;

        public List<Field> Fields;
    }
}
